<?php
/* Smarty version 3.1.29, created on 2016-08-05 11:27:05
  from "C:\wamp\china\Admin\View\Car\carList.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_57a40789b9c0a9_10942328',
  'file_dependency' => 
  array (
    '46a8c5b752f21f3d27b992fd93898f600e84982d' => 
    array (
      0 => 'C:\\wamp\\china\\Admin\\View\\Car\\carList.html',
      1 => 1470367621,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_57a40789b9c0a9_10942328 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_date_format')) require_once 'C:\\wamp\\ThinkPHP\\Library\\Vendor\\smarty\\plugins\\modifier.date_format.php';
$_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)@constant('APP_PATH'))."/Admin/View/Public/table.head.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>

<?php echo '<script'; ?>
>

    

<?php echo '</script'; ?>
>
<body onload = "startTime();">

<div class="mainwrapper">
    
<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)@constant('APP_PATH'))."/Admin/View/Public/menu.body.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>

    
    <!-- START OF RIGHT PANEL -->
    <div class="rightpanel">
        <?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)@constant('APP_PATH'))."/Admin/View/Public/users.body.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
<!--右边头部-->
        <div class="breadcrumbwidget">
            <ul class="skins">
                <li><a href="default" class="skin-color default"></a></li>
                <li><a href="orange" class="skin-color orange"></a></li>
                <li><a href="dark" class="skin-color dark"></a></li>
                <li>&nbsp;</li>
                <li class="fixed"><a href="" class="skin-layout fixed"></a></li>
                <li class="wide"><a href="" class="skin-layout wide"></a></li>
            </ul><!--skins-->
            <ul class="breadcrumb">
                <li><a href="<?php echo @constant('__MODULE__');?>
/Index/main">Home</a> <span class="divider">/</span></li>
                <li><a href="#">车辆管理</a> <span class="divider">/</span></li>
                <li class="active">车辆列表</li>
            </ul>
        </div><!--breadcrumbs-->
        <div class="pagetitle">
            <h1>车辆列表</h1> <span>用来显示所有车辆相关信息</span>
        </div><!--pagetitle-->
        
        <div class="maincontent">
            <div class="contentinner">
            
                <h4 class="widgettitle">分类列表</h4>
                <table class="table table-bordered" id="dyntable">
                    <colgroup>
                        <col class="con0" style="align: center; width: 4%" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                    </colgroup>
                    <thead>
                        <tr>
                            <th class="head0 nosort"><input type="checkbox" class="checkall" /></th>
                            <th class="center">ID</th>
                            <th class="center">名称</th>
                            <th class="center">价格</th>
                            <th class="center">上架时间</th>
                            <th class="center">修改</th>
                            <th class="center">删除</th>
                        </tr>
                    </thead>
                    <tbody>
                      
						<?php
$_from = $_smarty_tpl->tpl_vars['carList']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_car_0_saved_item = isset($_smarty_tpl->tpl_vars['car']) ? $_smarty_tpl->tpl_vars['car'] : false;
$_smarty_tpl->tpl_vars['car'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['car']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['car']->value) {
$_smarty_tpl->tpl_vars['car']->_loop = true;
$__foreach_car_0_saved_local_item = $_smarty_tpl->tpl_vars['car'];
?>
                            <tr class="gradeX">
                                <td class="aligncenter">
                                    <span class="center">
                                        <input type="checkbox" />
                                    </span>
                                </td>
                                <td class="center"><?php echo $_smarty_tpl->tpl_vars['car']->value['car_id'];?>
</td>
                                <td class="center"><?php echo $_smarty_tpl->tpl_vars['car']->value['name'];?>
</td>
                                <td class="center"><?php echo $_smarty_tpl->tpl_vars['car']->value['price'];?>
</td>
                                <td class="center"><?php echo date(smarty_modifier_date_format($_smarty_tpl->tpl_vars['car']->value['add_time'],"%Y/%m/%d"));?>
</td>       
                                <td class="center">
                                    <a href="<?php echo @constant('__CONTROLLER__');?>
/updateCarInfo/carId/<?php echo $_smarty_tpl->tpl_vars['car']->value['car_id'];?>
" title="修改">
                                        <span class="icon-edit"></span>
                                    </a>
                                </td>
                                <td class="center">
                                    <a onclick="return confirm('你确定要删除吗??');"  title="删除" href="<?php echo @constant('__CONTROLLER__');?>
/deleteCar/carId/<?php echo $_smarty_tpl->tpl_vars['car']->value['car_id'];?>
">
                                        <span class="icon-remove"></span>
                                    </a>
                                </td>
                            </tr>
                        
						<?php
$_smarty_tpl->tpl_vars['car'] = $__foreach_car_0_saved_local_item;
}
if ($__foreach_car_0_saved_item) {
$_smarty_tpl->tpl_vars['car'] = $__foreach_car_0_saved_item;
}
?>
                    </tbody>
                </table>
				<div class="widgettitle" style="font-size:media;">
				 共有<?php echo $_smarty_tpl->tpl_vars['carCount']->value;?>
条记录 ---<?php echo $_smarty_tpl->tpl_vars['countPage']->value;?>
页
				 <a id="dyntable_first" tabindex="0" href="<?php echo @constant('__ACTION__');?>
/page/1">首页</a>
				 <a id="dyntable_previous" tabindex="0" href="<?php echo @constant('__ACTION__');?>
/page/<?php echo $_smarty_tpl->tpl_vars['previousPage']->value;?>
">>上页</a>
				 <a id="dyntable_next" tabindex="0" href="<?php echo @constant('__ACTION__');?>
/page/<?php echo $_smarty_tpl->tpl_vars['nextPage']->value;?>
">>下页</a>
				 <a id="dyntable_last" tabindex="0" href="<?php echo @constant('__ACTION__');?>
/page/<?php echo $_smarty_tpl->tpl_vars['countPage']->value;?>
">>末页</a>
				</div>
				
				
                
               <!--  <div class="divider15"></div>
               
               <pre class="prettyprint linenums">//Include this script in your document &lt;head&gt;
               &lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.dataTables.min.js&quot;&gt;&lt;/script&gt;</pre>
               
               <div class="divider15"></div>
               
               <pre class="prettyprint linenums">// dynamic table<br>jQuery('#dyntable').dataTable({
                  &quot;sPaginationType&quot;: &quot;full_numbers&quot;,
                  &quot;aaSortingFixed&quot;: [[0,'asc']],
                  &quot;fnDrawCallback&quot;: function(oSettings) {
                     jQuery.uniform.update();
                  }<br>});<br></pre>
                  
                                <div class="divider15"></div>
                  
                                <pre class="prettyprint linenums">&lt;table class=&quot;table table-bordered&quot; id=&quot;dyntable&quot;&gt;</pre> -->
                
                
            </div><!--contentinner-->
        </div><!--maincontent-->
        
    </div><!--mainright-->
    <!-- END OF RIGHT PANEL -->
    
    <div class="clearfix"></div>
    
    <div class="footer">
        <div class="footerleft">快达租赁管理 v1.0</div>
        <div class="footerright">&copy; twen_Yee </div>
    </div><!--footer-->
    
</div><!--mainwrapper-->

</body>
</html><?php }
}
